package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorRoleUser;


public interface OperatorRoleUserRepository extends  JpaRepository<OperatorRoleUser, String>, JpaSpecificationExecutor<OperatorRoleUser> {
	
	
	 @Query("select r from OperatorRoleUser r where r.roleid=:roleid")	
    public List<OperatorRoleUser>  selectByroleid(@Param("roleid") String roleid);

}
